\hypertarget{class_zebulon_1_1_underwater_1_1_report_motor_address_change}{
\section{Zebulon::Underwater::ReportMotorAddressChange Class Reference}
\label{class_zebulon_1_1_underwater_1_1_report_motor_address_change}\index{Zebulon::Underwater::ReportMotorAddressChange@{Zebulon::Underwater::ReportMotorAddressChange}}
}


This message is generated as a response to a Set Motor Address. Contains confirmation of motor address change.  


{\ttfamily \#include $<$reportmotoraddresschange.h$>$}Inheritance diagram for Zebulon::Underwater::ReportMotorAddressChange::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{class_zebulon_1_1_underwater_1_1_report_motor_address_change}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_zebulon_1_1_underwater_1_1_report_motor_address_change_a686b468ec1cf969bc986b674ff99ff02}{
\hyperlink{class_zebulon_1_1_underwater_1_1_report_motor_address_change_a686b468ec1cf969bc986b674ff99ff02}{ReportMotorAddressChange} ()}
\label{class_zebulon_1_1_underwater_1_1_report_motor_address_change_a686b468ec1cf969bc986b674ff99ff02}

\begin{DoxyCompactList}\small\item\em Constructor. \item\end{DoxyCompactList}\item 
\hypertarget{class_zebulon_1_1_underwater_1_1_report_motor_address_change_a16aa755eb4ab8c1e63c5c79784ac6f42}{
virtual \hyperlink{class_zebulon_1_1_underwater_1_1_report_motor_address_change_a16aa755eb4ab8c1e63c5c79784ac6f42}{$\sim$ReportMotorAddressChange} ()}
\label{class_zebulon_1_1_underwater_1_1_report_motor_address_change_a16aa755eb4ab8c1e63c5c79784ac6f42}

\begin{DoxyCompactList}\small\item\em Destructor. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{class_zebulon_1_1_underwater_1_1_report_motor_address_change_a4fa8e18b7647512ea45a98ff65d0a7cb}{WriteMessageBody} (CxUtils::Packet \&packet) const 
\begin{DoxyCompactList}\small\item\em Writes the contents of the message payload to the packet. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{class_zebulon_1_1_underwater_1_1_report_motor_address_change_ae9fdab88475af07baf24ce87a05d2140}{ReadMessageBody} (const CxUtils::Packet \&packet)
\begin{DoxyCompactList}\small\item\em Reads the contents of the message payload from the packet, and saves to internal data members. \item\end{DoxyCompactList}\item 
\hypertarget{class_zebulon_1_1_underwater_1_1_report_motor_address_change_a8d82bf96cf0bb3d786ccedf45683e7c5}{
virtual void {\bfseries Print} () const }
\label{class_zebulon_1_1_underwater_1_1_report_motor_address_change_a8d82bf96cf0bb3d786ccedf45683e7c5}

\item 
\hypertarget{class_zebulon_1_1_underwater_1_1_report_motor_address_change_ad67582f2edfd993c40e002e91cac3dd9}{
virtual Message $\ast$ \hyperlink{class_zebulon_1_1_underwater_1_1_report_motor_address_change_ad67582f2edfd993c40e002e91cac3dd9}{Clone} () const }
\label{class_zebulon_1_1_underwater_1_1_report_motor_address_change_ad67582f2edfd993c40e002e91cac3dd9}

\begin{DoxyCompactList}\small\item\em Makes a clone of the message. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_zebulon_1_1_underwater_1_1_report_motor_address_change_a269763a637abcf6e571626d777916d1d}{
unsigned char {\bfseries mCurrentMotorAddress}}
\label{class_zebulon_1_1_underwater_1_1_report_motor_address_change_a269763a637abcf6e571626d777916d1d}

\item 
\hypertarget{class_zebulon_1_1_underwater_1_1_report_motor_address_change_a243c86db4360f16d19379a6edac4b942}{
unsigned char {\bfseries mOldMotorAddress}}
\label{class_zebulon_1_1_underwater_1_1_report_motor_address_change_a243c86db4360f16d19379a6edac4b942}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
This message is generated as a response to a Set Motor Address. Contains confirmation of motor address change. 

\subsection{Member Function Documentation}
\hypertarget{class_zebulon_1_1_underwater_1_1_report_motor_address_change_ae9fdab88475af07baf24ce87a05d2140}{
\index{Zebulon::Underwater::ReportMotorAddressChange@{Zebulon::Underwater::ReportMotorAddressChange}!ReadMessageBody@{ReadMessageBody}}
\index{ReadMessageBody@{ReadMessageBody}!Zebulon::Underwater::ReportMotorAddressChange@{Zebulon::Underwater::ReportMotorAddressChange}}
\subsubsection[{ReadMessageBody}]{\setlength{\rightskip}{0pt plus 5cm}int ReportMotorAddressChange::ReadMessageBody (const CxUtils::Packet \& {\em packet})\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{class_zebulon_1_1_underwater_1_1_report_motor_address_change_ae9fdab88475af07baf24ce87a05d2140}


Reads the contents of the message payload from the packet, and saves to internal data members. 
\begin{DoxyParams}{Parameters}
\item[\mbox{$\leftarrow$} {\em packet}]Packet to read from.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
4 on success, 0 on failure. 
\end{DoxyReturn}


Reimplemented from \hyperlink{class_zebulon_1_1_m_c_u_1_1_message}{Zebulon::MCU::Message}.\hypertarget{class_zebulon_1_1_underwater_1_1_report_motor_address_change_a4fa8e18b7647512ea45a98ff65d0a7cb}{
\index{Zebulon::Underwater::ReportMotorAddressChange@{Zebulon::Underwater::ReportMotorAddressChange}!WriteMessageBody@{WriteMessageBody}}
\index{WriteMessageBody@{WriteMessageBody}!Zebulon::Underwater::ReportMotorAddressChange@{Zebulon::Underwater::ReportMotorAddressChange}}
\subsubsection[{WriteMessageBody}]{\setlength{\rightskip}{0pt plus 5cm}int ReportMotorAddressChange::WriteMessageBody (CxUtils::Packet \& {\em packet}) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{class_zebulon_1_1_underwater_1_1_report_motor_address_change_a4fa8e18b7647512ea45a98ff65d0a7cb}


Writes the contents of the message payload to the packet. 
\begin{DoxyParams}{Parameters}
\item[\mbox{$\leftarrow$} {\em packet}]Packet to write to.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
4 on success, 0 on failure. 
\end{DoxyReturn}


Reimplemented from \hyperlink{class_zebulon_1_1_m_c_u_1_1_message}{Zebulon::MCU::Message}.

The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
C:/Users/Matt/Documents/School/Robotics/zebulon/v2/underwater/include/underwater/messages/\hyperlink{reportmotoraddresschange_8h}{reportmotoraddresschange.h}\item 
C:/Users/Matt/Documents/School/Robotics/zebulon/v2/underwater/src/underwater/messages/\hyperlink{reportmotoraddresschange_8cpp}{reportmotoraddresschange.cpp}\end{DoxyCompactItemize}
